﻿using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using PoemGame.Management.Domain;

namespace PoemGame.Management.Repository;

internal class PlayerEntityTypeConfiguration : IEntityTypeConfiguration<Player>
{
    public void Configure(EntityTypeBuilder<Player> playerConfiguration)
    {
        playerConfiguration.ToTable("PlayerManagement");
        playerConfiguration.HasKey(o => o.Id);

    }
}